<script type="text/javascript" src="<?php echo base_url()?>js/datetimepicker_css.js"></script>
<?php $this->load->helper('HTML');
echo link_tag('css/style2.css');?>
<title>Twin Tulipware</title>
<div id="wrapper">
	<?php $this->load->view('admin_views/header'); ?><hr />
</div>
<div id="page">
	<div id="page-bgtop">
		<div id="content">
		  <div class="post">
    <form action="" method="post">
    <table border="0" cellpadding="1" cellspacing="1" align="center" width="100%">
      <tr align="center">
        <td colspan="2">Edit Data Arisan</td>
      </tr>
        <tr>
        <td>&nbsp;Wilayah</td>
        <td><select name="intid_wilayah">
			<option value="">-- Pilih --</option>
			<?php
				for($i=0;$i<count($namaw);$i++)
				{
					if($intid_cabang==$idw[$i]){ $style="selected"; }else{ $style=""; }
					echo "<option value='$idw[$i]' $style>$namaw[$i]</option>";
				}
			?>
			</select></td>
      </tr>
       
       <tr>
        <td>&nbsp;Barang</td>
        <td><select name="intid_barang">
			<option value="">-- Pilih --</option>
			<?php
				for($i=0;$i<count($namab);$i++)
				{
					if($intid_barang==$idb[$i]){ $style="selected"; }else{ $style=""; }
					echo "<option value='$idb[$i]' $style>$namab[$i]</option>";
				}
			?>
			</select></td>
      </tr>
      <tr>
        <td>&nbsp;Harga Arisan</td>
        <td><input type="text" name="intharga_arisan" size="10" value="<?=number_format($intharga_arisan,2,",",".")?>"/></td>
      </tr>
       
      <tr>
        <td>&nbsp;Uang Muka</td>
        <td><input type="text" name="intuang_muka" size="10" value="<?=number_format($intuang_muka,2,",",".")?>"/></td>
      </tr>
       <td>&nbsp;Uang Cicilan</td>
        <td><input type="text" name="intuang_cicilan" size="10" value="<?=number_format($intuang_cicilan,2,",",".")?>"/></td>
      </tr>
     
      <tr>
        <td>&nbsp;Jenis Cicilan</td>
        <td><input name="intcicilan" type="radio" value="5" checked />&nbsp;5&nbsp;&nbsp;X&nbsp;<input name="intcicilan" type="radio" value="7"/>7 &nbsp;X</td>
      </tr><tr>
            <th></th>
            <td><input type="submit" value="Edit" class="button"/>&nbsp;<input class="button" type="button" value="Cancel" onClick="location.href='<?php echo base_url()?>arisan';"/></td>
        </tr>
 </table>

</form>
</div>

		</div>
		<!-- end #content -->
		<?php $this->load->view('admin_views/sidebar_master'); ?><!-- end #sidebar -->
		<div style="clear: both;">&nbsp;</div>
	</div>
	</div>
	<!-- end #page -->
	<div id="footer-bgcontent">
	<?php $this->load->view('admin_views/footer'); ?></div>
	<!-- end #footer -->


